(function () {
    "use strict";

    angular.module('app').service('WctReplyService', WctReplyService);

    WctReplyService.$inject = [
        'A',
        'Api'
    ];

    function WctReplyService(A, Api) {

        function getWxMenu() {
            return A.Ajax.get(Api.wct.menu.get);
        }

        function sync() {
            return A.Ajax.post(Api.wct.menu.sync);
        }

        return {
            getWxMenu: getWxMenu,
            sync     : sync
        };
    }
})();